package com.test.service.impl;

import com.test.mapper.AdminUserMapper;
import com.test.pojo.AdminUser;
import com.test.service.AdminUserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class AdminUserServiceImpl implements AdminUserService {

    @Resource
    AdminUserMapper adminUserMapper;

    @Override
    public AdminUser doLogin(String adminName, String adminPassword) {
        return adminUserMapper.doLogin(adminName,adminPassword);
    }
}
